/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package share;

/**
 *
 * @author mire
 */
public class ThreadStatus {
    private String address;
    private String threadID;
    private String request;
    private String status;
    private String responce;

    public ThreadStatus(String address) {
        this.address = address;
        this.threadID = "-";
        this.request = "-";
        this.status = "-";
        this.responce = "-";
    }
    
    public synchronized  String getAddress() {
        return address;
    }

    public synchronized void setAddress(String address) {
        this.address = address;
    }

    public synchronized String getRequest() {
        return request;
    }

    public synchronized void setRequest(String request) {
        this.request = request;
    }

    public synchronized String getResponce() {
        return responce;
    }

    public synchronized void setResponce(String responce) {
        this.responce = responce;
    }

    public synchronized String getStatus() {
        return status;
    }

    public synchronized void setStatus(String status) {
        this.status = status;
    }

    public synchronized String getThreadID() {
        return threadID;
    }

    public synchronized void setThreadID(String threadID) {
        this.threadID = threadID;
    }

    @Override
    public String toString() {
        return getAddress() + "\\t" + getThreadID() + "\\t" + getRequest() + "\\t" + getStatus() + "\\t" + getResponce();
    }
    
    
}
